Component({
  pageLifetimes: {
    show() {
      if (typeof this.getTabBar === 'function' &&
        this.getTabBar()) {
        this.getTabBar().setData({
          selected: '/pages/user/user'
        })
      }
    },
  },
  data: {
    navList: [
      {
        icon: "/image/star.png",
        title: "会员续费",
        url: "/pages/vipRenew/vipRenew"
      }, {
        icon: "/image/order.png",
        title: "订单统计",
        url: "/pages/order/statistics/statistics"
      }, {
        icon: "/image/email.png",
        title: "意见反馈"
      }, {
        icon: "/image/setting.png",
        title: "个人设置",
        url: "/pages/user/setting/setting"
      },
    ]
  },
  methods: {
    openUserInfo(){
      wx.navigateTo({
        url:"/pages/user/setting/setting"
      })
    }
  }
})
